/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package TransportLayer;

import DataModel.NotaryCertificate;
import java.io.Serializable;

/**
 *
 * @author Tomasz Nowak
 */
public class NotaryRequest implements Serializable
{
	private NotaryRequestType notaryRequestType;
	private NotaryCertificate notaryCertificate;
	private Object additionalObject;

	public Object getAdditionalObject()
	{
		return additionalObject;
	}

	public void setAdditionalObject( Object additionalObject )
	{
		this.additionalObject = additionalObject;
	}

	public NotaryRequest( NotaryRequestType notaryRequestType, NotaryCertificate notaryCertificate )
	{
		this.notaryRequestType = notaryRequestType;
		this.notaryCertificate = notaryCertificate;
	}

	public NotaryRequestType getNotaryRequestType()
	{
		return notaryRequestType;
	}

	public void setNotaryRequestType( NotaryRequestType notaryRequestType )
	{
		this.notaryRequestType = notaryRequestType;
	}

	public NotaryCertificate getNotaryCertificate()
	{
		return notaryCertificate;
	}

	public void setNotaryCertificate( NotaryCertificate notaryCertificate )
	{
		this.notaryCertificate = notaryCertificate;
	}
}
